package com.yf.gogameserver.service;/*
@author FAN

@create 2021-12-21-10:31


*/

import com.yf.gogameserver.entity.User;

public interface IUserService {
    //用户注册
    int register(User user);
    //用户登录
    User login(String username, String password);
    //通过邮箱找回密码
    int sendEmailByUserName(String username);
    //重置密码
    int updatePassword(String username, String newPassword);
    int updateHeader(String username, String header);
}
